﻿Public Class Errors
    Public Shared Sub notRecognized()
        Console.ForegroundColor = ConsoleColor.DarkGray
        Console.WriteLine("The command """ & commandArray(0) & """ was not recognized by OpenCLI" & vbCrLf)
        Console.ResetColor()
    End Sub

    Public Shared Sub throwError(ByVal errorText As String)
        Console.ForegroundColor = ConsoleColor.DarkGray
        Console.WriteLine(errorText & vbCrLf)
        Console.ResetColor()
    End Sub

    Public Shared Sub numArgs()
        Console.ForegroundColor = ConsoleColor.DarkGray
        Console.WriteLine("The command """ & commandArray(0) & """ does not accept this number of arguments." & vbCrLf)
        Console.ResetColor()
    End Sub

    Public Shared Sub pathNotFound()
        Console.ForegroundColor = ConsoleColor.DarkGray
        Console.WriteLine("The path """ & commandArray(1) & """ was not found." & vbCrLf)
        Console.ResetColor()
    End Sub
End Class
